home *** CD-ROM | disk | FTP | other *** search
- ;-------------------------------------- TestMenu.SC
- ;-------------- Test commands for displaying menus.
- CLEAR
-
- ;--- Display a menu, store selection in MenuChoice.
- SHOWMENU
- "Beep" : "Make a few beeps",
- "Flash" : "Display a flashing message",
- "Colors" : "Play the Colors script",
- "Nothing" : "Don't do anything"
- TO MenuChoice
-
- ;--------------- Respond to menu choice.
- SWITCH
- CASE MenuChoice = "Beep" :
- BEEP BEEP BEEP BEEP
- CASE MenuChoice = "Flash" :
- @ 12,20
- STYLE BLINK
- ?? "Here is your flashing message..."
- SLEEP 5000
- CASE MenuChoice = "Colors" :
- CLEAR
- PLAY "Colors"
- ENDSWITCH